From: Marco Trevisan (TreviƱo) Date: Mon, 2 Sep 2019 14:44:37 +0000 (+0200) Subject: js/main: Use warning log level for notifyError X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~270 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=71765a10566df07502f7fcb781b554298860fb77;p=gnome-shell.git js/main: Use warning log level for notifyError Part-of: --- diff --git a/js/ui/main.js b/js/ui/main.js index d1a2076f6..d1f791a90 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -504,9 +504,9 @@ function notify(msg, details) { function notifyError(msg, details) { // Also print to stderr so it's logged somewhere if (details) - log(`error: ${msg}: ${details}`); + console.warn(`error: ${msg}: ${details}`); else - log(`error: ${msg}`); + console.warn(`error: ${msg}`); notify(msg, details); }